﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WastedMechanics.CharState
{
    public class CharStateHidePistolIdle : CharStateSimpleAction
    {
        public CharStateHidePistolIdle(Character chr)
            : base(chr)
        {
            ActionTime = 0.9f;
            AnimationName = "HidePistolIdle";
        }

        public override void ActionPerform()
        {            
            Character.AttachPistolToPocket(Character.Pistol);
            Character.ArmedCase = Character.ArmedCases.Nothing;
        }

        public override CharState GetNextState()
        {
            return new CharStateIdleNothing(Character);
        }
    }
}
